package cn.edu.zjgsu.ito.util;

/**
 * 求购单状态<br/>
 * 代购单状态<br/>
 * 快递单状态<br/>
 * @author Administrator
 *
 */
public class OrderStateConstant {
	
	/**
	 * 求购状态
	 * demand_state
	 * 0-未接单
	 */
	public static final int DEMAND_NO_ACCEPT= 0;
	
	/**
	 * 求购状态
	 * demand_state
	 * 1-已接单
	 */
	public static final int DEMAND_HAS_BEEN_ACCEPT= 1;
	
	/**
	 * 求购状态
	 * demand_state
	 * 2-已评价
	 */
	public static final int DEMAND_COMMENTS= 2;
	
	/**
	 * 求购状态
	 * demand_state
	 * 3-未支付
	 */
	public static final int DEMAND_NO_PAY= 3;

	/**
	 * 求购状态
	 * demand_state
	 *  4-已支付
	 */
	public static final int DEMAND_PAY= 4;
	
	/**
	 * 求购状态
	 * demand_state
	 * 5-派件中
	 */
	public static final int DEMAND_SENDING= 5;
	/**
	 * 求购状态
	 * demand_state
	 * 6-完成
	 */
	public static final int DEMAND_END= 6;
	
	/**
	 * 接单状态
	 * purchase_state
	 * 0-接单成功
	 */
	public static final int PURCHASE_ACCEPT_SUCCESS = 0;
	
	/**
	 * 接单状态
	 * purchase_state 
	 * 1-完成评价
	 */
	public static final int PURCHASE_END_COMMENTS = 1;
	
	/**
	 * 接单状态
	 * purchase_state
	 * 2-正在采购
	 */
	public static final int PURCHASE_BUYING = 2;
	
	/**
	 * 接单状态
	 * purchase_state
	 * 3-采购完成
	 */
	public static final int PURCHASE_BUY_FINISHED = 3;
	
	/**
	 * 接单状态
	 * purchase_state
	 * 4-正在派件
	 */
	public static final int PURCHASE_SEND = 4;
	
	/**
	 * 接单状态
	 * purchase_state
	 * 5-结束
	 */
	public static final int PURCHASE_END = 5;
	
	
	/**
	 * 快递状态
	 * order_courier_state
	 * 取件中 0
	 */
	public static final int COURIER_TAKEING = 0;
	
	/**
	 * 快递状态
	 * order_courier_state
	 * 派送中 1
	 */
	public static final int COURIER_SENDING = 1;
	
	/**
	 * 快递状态
	 * order_courier_state
	 * 完成 2
	 */
	public static final int COURIER_ENDING = 2;
	
	/**
	 * 订单状态
	 * order_state
	 * 0-等待代购人确定金额
	 */
	public static final int ORDER_WAIT_CONFRIM = 0;
	
	/**
	 * 订单状态
	 * order_state
	 * 1-确认，未支付
	 */
	public static final int ORDER_CONFRIM = 1;
	
	/**
	 * 订单状态
	 * order_state
	 * 2-已支付 
	 */
	public static final int ORDER_PAY = 2;
	
	/**
	 * 订单状态
	 * order_state
	 * 3-招快递员
	 */
	public static final int ORDER_FIND_COURIER = 3;
	
	/**
	 * 订单状态
	 * order_state
	 * 4-寄件中
	 */
	public static final int ORDER_WAIT_SEND = 4;
	
	/**
	 * 订单状态
	 * order_state
	 * 5-派送中
	 */
	public static final int ORDER_SENDING = 5;
	
	/**
	 * 订单状态
	 * order_state
	 * 6-确定收货
	 */
	public static final int ORDER_FINISH = 6;
	
	/**
	 * 订单状态
	 * order_state
	 * 7-关闭
	 */
	public static final int ORDER_CANCEL = 7;
	
	/**
	 * 订单状态
	 * order_state
	 * 8-退款中
	 */
	public static final int ORDER_REFUND = 8;
	
	/**
	 * 订单状态
	 * order_state
	 * 9-结束，评价完成
	 */
	public static final int ORDER_OVER = 9;
	
	/**
	 * 退款状态
	 * user_refund
	 * 0-未退款
	 */
	public static final int REFUND_NO = 0;

	/**
	 * 退款状态
	 * user_refund
	 * 1-已退款
	 */
	public static final int REFUND_YES = 1;
	
}
